package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dto.ArticleDto;
import com.heima.model.article.dto.ArticleHomeDto;
import com.heima.model.article.pojo.ApArticle;
import com.heima.model.common.dtos.ResponseResult;

import java.util.Map;

public interface ApArticleService extends IService<ApArticle> {
    ResponseResult load(ArticleHomeDto articleHomeDto, int type);

    ResponseResult saveArticle(ArticleDto dto);

    void downOrUpArticle(Map<String, Object> map);
}
